package com.akaovi.chatroom.mess;

import java.io.Serializable;

/**
 * @author akaovi
 * @version 1.0
 * @description
 * @date 2022/12/10 17:48
 * @since 2022/12/10 17:48
 */
public class AddOrDeleteFriend extends Message implements Serializable {
    private static final long serialVersionUID = 883848685763310282L;

    public String from;
    public String account;
    public String detail;

    private boolean isAgree = false;

    public AddOrDeleteFriend(MessType type, String from, String account, String detail) {
        this.type = type;
        this.from = from;
        this.account = account;
        this.detail = detail;
    }

    public boolean isAgree() {
        return isAgree;
    }

    public void setAgree(boolean agree) {
        isAgree = agree;
    }
}
